package pfctrller;

public class Link {
	
	private Port src;
	private Port dst;
	private long rateLimit;
	
	/**
	 * @param src
	 * @param dst
	 * @param rate
	 */
	public Link(Port src, Port dst, long rate) {
		super();
		this.src = src;
		this.dst = dst;
		this.rateLimit = rate;
	}
	
	/**
	 * @return the src
	 */
	public Port getSrc() {
		return src;
	}
	/**
	 * @param src the src to set
	 */
	public void setSrc(Port src) {
		this.src = src;
	}
	/**
	 * @return the dst
	 */
	public Port getDst() {
		return dst;
	}
	/**
	 * @param dst the dst to set
	 */
	public void setDst(Port dst) {
		this.dst = dst;
	}
	/**
	 * @return the rate
	 */
	public long getRateLimit() {
		return rateLimit;
	}
	/**
	 * @param rate the rate to set
	 */
	public void setRateLimit(long rate) {
		this.rateLimit = rate;
	}
}
